package com.jxdinfo.hussar.example.common.schedulingtask.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jxdinfo.hussar.example.common.schedulingtask.model.WmWarehouse;
import com.jxdinfo.hussar.example.common.schedulingtask.vo.MdVendorVO;
import com.jxdinfo.hussar.example.common.schedulingtask.vo.WmWarehouseVO;
import com.jxdinfo.hussar.support.datasource.annotations.HussarDs;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 仓库表 Mapper 接口
 * </p>
 *
 * @author 乔镔
 * @since 2024-04-08
 */
@Mapper
@Repository("com.jxdinfo.hussar.example.common.schedulingtask.dao.WmWarehouseMapper")
public interface WmWarehouseMapper extends BaseMapper<WmWarehouse> {

    LocalDateTime selectMaxScheduleDate();

    @HussarDs("U9C")
    List<WmWarehouseVO> selectMoreSchedule(String scheduleDateString);

    @HussarDs("U9C")
    List<WmWarehouseVO> selectUpdateMoreSchedule(String scheduleDateString);

    @HussarDs("U9C")
    List<WmWarehouseVO> selectAllWmWarehouse();
}
